import { TStrengthenAdd } from "../../../../Message/Db/Tables/TStrengthenAdd";
import { GameDefConfig } from "../GameDefConfig";
//class StrengthenAddInfo
    
    export  class StrengthenAddInfo extends TStrengthenAdd
    {
        constructor()
        {
            
            super();this._addInfoArray = [];
            return;
        }

        public initParse(): void
        {
            var loc3=null;
            var loc4=null;
            var loc5=0;
            this._addInfoArray = [];
            var loc1=attribute.split("#");
            var loc2=0;
            while (loc2 < loc1.length) 
            {
                loc3 = (loc1[loc2] as string).split(",");
                loc4 = new Map<any, any> /* flash.utils.Dictionary */();
                loc5 = int(loc3[0]);
                loc4["type"] = loc5;
                loc4["name"] = GameDefConfig.instance.getEJewel(loc5).name;
                loc4["value"] = "+" + loc3[1];
                this._addInfoArray.push(loc4);
                ++loc2;
            }
            return;
        }

        public get addInfoArray(): Array<any>
        {
            return this._addInfoArray;
        }

        /* internal */ /* var */_addInfoArray: Array<any>;
    }
